#include <stdio.h>
// 练习3:字符串逆序输出

void reversionString()
{
    char c = getchar();
    if (c == '\n')
    {
        return;
    }
    reversionString();
    printf("%c", c);
}

int main()
{
    printf("输入字符串:\n");
    while (1)
    {
        reversionString();
        printf("\n");
    }
}